﻿@using Kovan.Model.Entity.UserCenter;
@{
    var item = Model as act_dept;
}
<div class="pageContent">
    <form method="post" action="@Url.Content("~/Manage/Dept/SaveDept")" class="pageForm required-validate"
    onsubmit="return DeptManage.SaveDept(this, DeptManage.dialogAjaxDone);">
    <div class="pageFormContent" layouth="56">
        <p>
            <label>
                部门名称：</label>
            <input type="text" name="name" size="30" class="required" value="@item.name" />
            <input type="hidden" name="dept_id" value="@item.dept_id" />
            <input type="hidden" name="application_id" value="@item.application_id" />
        </p>
        <p>
            <label>
                父级部门：</label>
            <input type="text" name="icon_url" size="30"  value="" />
        </p>
        <p>
            <label>
                负责人：</label>
            <input type="text" id="url" name="" size="30" value="" />
        </p>
        <dl class="nowrap" style="width: 98%">
            <dt>描述：</dt>
            <dd>
                <textarea name="description" cols="77" rows="5">@item.description</textarea></dd>
        </dl>
        
    </div>
    <div class="formBar">
        <ul>
            <!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
            <li>
                <div class="buttonActive">
                    <div class="buttonContent">
                        <button type="submit">
                            保存</button></div>
                </div>
            </li>
            <li>
                <div class="button">
                    <div class="buttonContent">
                        <button type="button" class="close">
                            取消</button></div>
                </div>
            </li>
        </ul>
    </div>
    </form>
</div>
